<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      padding: 0;
      margin: 0;
      box-sizing: border-box;
    }
    .tab-responsive {
      overflow: auto;
      background-color: #efefef;
    }
    .tab-responsive .tab-nav {
      list-style: none;
      display: flex;
    }
    .tab-responsive .tab-nav li {
      padding: 10px 15px;
      flex-shrink: 0;
    }

  </style>
</head>
<body>
  <div class="tab-responsive">
    <ul class="tab-nav">
      <li>HTML5</li>
      <li>CSS3</li>
      <li>JavaScript</li>
      <li>JQuery</li>
      <li>vue框架</li>
      <li>java面向对象</li>
      <li>C++</li>
      <li>Elements</li>
    </ul>
  </div>
</body>
</html>